home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / Manuels & Misc / Assembly / AOA.ZIP / CH03 / EX3.X86 < prev    next >
Encoding:
Text File  |  1996-01-31  |  302 b   |  29 lines

  1. a:    mov    ax, [fff0]
  2.     mov    bx, [fff2]
  3.  
  4.     mov    cx, ax
  5.     and    cx, bx
  6.     mov    [fff8], cx
  7.  
  8.     mov    cx, ax
  9.     or    cx, bx
  10.     mov    [fffa], cx
  11.  
  12.     mov    cx, ax
  13.     mov    dx, bx
  14.     not    cx
  15.     not    dx
  16.     and    cx, bx
  17.     and    dx, ax
  18.     or    cx, dx 
  19.     mov    [fffc], cx
  20.  
  21.     not    cx
  22.     mov    [fffe], cx
  23.  
  24.     mov    ax, [fff4]
  25.     cmp    ax, 0
  26.     je    a
  27.     halt
  28.  
  29.